import request from '@/utils/request'

export function listequipmentMmset(query) {
  return request({
    url: '/maintain/equipmentMmset/list',
    method: 'get',
    params: query
  })
}

export function createequipmentMmset(data) {
  return request({
    url: '/maintain/equipmentMmset/create',
    method: 'post',
    data
  })
}

export function readequipmentMmset(data) {
  return request({
    url: '/maintain/equipmentMmset/get/' + data.id,
    method: 'get'
  })
}

export function updateequipmentMmset(data) {
  return request({
    url: '/maintain/equipmentMmset/update',
    method: 'post',
    data
  })
}

export function deleteequipmentMmset(data) {
  return request({
    url: '/maintain/equipmentMmset/delete',
    method: 'post',
    data
  })
}
